package com.example.bpmn.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class NotificationService {

    public void notifyUser(String userId, String message) {
        // 实现用户通知逻辑
        log.info("Notifying user {}: {}", userId, message);
    }

    public void notifyGroup(String groupId, String message) {
        // 实现群组通知逻辑
        log.info("Notifying group {}: {}", groupId, message);
    }

    public void sendErrorNotification(String processId, String error) {
        // 实现错误通知逻辑
        log.error("Process {} error: {}", processId, error);
    }
} 